package com.lvmama.rhino.service;

import com.github.pagehelper.PageInfo;
import com.lvmama.rhino.pojo.PitPV;
import com.lvmama.rhino.pojo.PositionAnalysis;
import com.lvmama.rhino.pojo.TopicFunnelDataQuery;
import com.lvmama.rhino.pojo.funnel.SpecialTopicFunnelData;

import java.util.List;

public interface PositionAnalysisService {

	/**
	 * 专题接口
	 */
	PageInfo<PositionAnalysis> getTopicList(PositionAnalysis sc);

	
	/**
	 * 坑位接口
	 */
	PageInfo<PositionAnalysis> getPitList(PositionAnalysis positionVO);
	List<PositionAnalysis> getPitListByCategory(PositionAnalysis positionVO);
	List<PositionAnalysis> getPitBarByCategory(PositionAnalysis positionVO);
	List<PositionAnalysis> getPitListByDate(PositionAnalysis positionVO);
	PageInfo<PitPV> getTopicPVByCode(PositionAnalysis positionVO);
	List<PitPV> getPitPVByCategory(PositionAnalysis positionVO);
	List<PitPV> getAllPitPV(PositionAnalysis positionVO);
	PositionAnalysis getPageNumByCategory(PositionAnalysis positionVO);

	/**
	 * 查询专题漏斗
	 * @param query 查询条件
	 * @return 结果集
	 */
	List<SpecialTopicFunnelData> getTopicFunnel(TopicFunnelDataQuery query);

}
